﻿using System.Text.Json.Serialization;

namespace DoNet.Bpmn.Core.Vo
{
    public class BpmnNodeParamsVo
    {
        [JsonPropertyName("nodeTo")]
        public string NodeTo { get; set; } = string.Empty;

        [JsonPropertyName("paramType")]
        public int ParamType { get; set; }

        [JsonPropertyName("assignee")]
        public BpmnNodeParamsAssigneeVo? Assignee { get; set; }

        [JsonPropertyName("assigneeList")]
        public List<BpmnNodeParamsAssigneeVo> AssigneeList { get; set; } = new List<BpmnNodeParamsAssigneeVo>();

        [JsonPropertyName("isNodeDeduplication")]
        public int IsNodeDeduplication { get; set; } = 0;
    }
}
